﻿@model BuySoftwareOnline.Web.Models.ProductsListViewModel

@{
    ViewBag.Title = "List";
}

<table width="100%">
    <tr>
        <td width="1%"></td>
        <td width="98%">
         <table  cellpadding="10" style="border-style:groove; border:1; border-color:#CCC" width="100%">
 <tr>
    <td align="center" width="100%" >
@foreach (var p in Model.Products)
{	
    Html.RenderPartial("ProductView",p);
}
     </td>
</tr>
</table>

        </td>
        <td width="1%"></td>
    </tr>
</table>


<div class="pager">
    @Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new { page = x, category = Model.CurrentCategory }))
</div>